package com.eastfair.auth.vo;

import com.eastfair.annotation.annotation.vo.VoInfo;
import com.eastfair.auth.enumeration.ResourceOrganizationResourceTypeEnum;
import com.eastfair.vo.VoGroupClass;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 
 * </p>
 *
 * @author ligang
 * @since 2021-07-16
 */
@Data
@ApiModel(value = "ResourceOrganizationVo", description = "")
public class ResourceOrganizationVo implements Serializable {
    private static final long serialVersionUID = 1L;


    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {VoGroupClass.all.class})
    private Long id;

    /**
     * 组织id
     */
    @ApiModelProperty(value = "组织id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {VoGroupClass.all.class})
    private Long organizationId;

    /**
     * 资源id
     */
    @ApiModelProperty(value = "资源id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {VoGroupClass.all.class})
    private Long resourceId;

    /**
     * 资源类型 #{project:项目;company:公司;sponsor:展会;host:主办;other:其他}
     */
    @ApiModelProperty(value = "资源类型 #{project:项目;company:公司;sponsor:展会;host:主办;other:其他}")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {VoGroupClass.all.class})
    private ResourceOrganizationResourceTypeEnum type;
}
